package com.yonyou.brigade.third_parties.yihao.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author houyb
 * @since 2020-01-06
 */
@TableName("yihao_user")
public class YihaoUser extends Model<YihaoUser> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 外部员工唯一ID 
     */
    private String empID;
    /**
     * 员工性别 0：女 1：男
     */
    private Integer gender;
    /**
     * 员工生日日期
     */
    private Date birthDay;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 姓名
     */
    private String name;
    /**
     * 员工电话号码
     */
    private String phone;
    /**
     * 是否高管可见0：不可见 1：可见
     */
    private Integer isSeenToOtherSenior;
    /**
     * 是否高管0：不是高管 1：是高管
     */
    private Integer isSeniorExecutive;

    /**
     * 部门名称
     */
    private String deptName;

    /**
     *外部部门唯一ID
     */
    private String outDeptNO;

    /**
     * 职级PK
     */
    private String postPk;

    /**
     * 职级名称
     */
    private String postName;

    /**
     * 租户Id
     */
    private String tenantId;

    /**
     * 组织PK
     */
    private String orgPk;

    private Date ts;

    public String getOrgPk() {
        return orgPk;
    }

    public void setOrgPk(String orgPk) {
        this.orgPk = orgPk;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getEmpID() {
        return empID;
    }

    public void setEmpID(String empID) {
        this.empID = empID;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Date getBirthDay() {
        return birthDay;
    }

    public void setBirthDay(Date birthDay) {
        this.birthDay = birthDay;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getIsSeenToOtherSenior() {
        return isSeenToOtherSenior;
    }

    public void setIsSeenToOtherSenior(Integer isSeenToOtherSenior) {
        this.isSeenToOtherSenior = isSeenToOtherSenior;
    }

    public Integer getIsSeniorExecutive() {
        return isSeniorExecutive;
    }

    public void setIsSeniorExecutive(Integer isSeniorExecutive) {
        this.isSeniorExecutive = isSeniorExecutive;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getOutDeptNO() {
        return outDeptNO;
    }

    public void setOutDeptNO(String outDeptNO) {
        this.outDeptNO = outDeptNO;
    }

    public String getPostPk() {
        return postPk;
    }

    public void setPostPk(String postPk) {
        this.postPk = postPk;
    }

    public String getPostName() {
        return postName;
    }

    public void setPostName(String postName) {
        this.postName = postName;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public Date getTs() {
        return ts;
    }

    public void setTs(Date ts) {
        this.ts = ts;
    }

    public static final String ID = "id";

    public static final String EMPID = "empID";

    public static final String GENDER = "gender";

    public static final String BIRTHDAY = "birthDay";

    public static final String EMAIL = "email";

    public static final String NAME = "name";

    public static final String PHONE = "phone";

    public static final String ISSEENTOOTHERSENIOR = "isSeenToOtherSenior";

    public static final String ISSENIOREXECUTIVE = "isSeniorExecutive";

    public static final String TENANTID = "tenantId";

    public static final String DEPTNAME = "deptName";

    public static final String OUTDEPTNO = "outDeptNO";

    public static final String POSTPK = "postPk";

    public static final String POSTNAME = "postName";

    public static final String ORGPK = "orgPk";

    public static final String TS = "ts";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "YihaoUser{" +
        "id=" + id +
        ", empID=" + empID +
        ", gender=" + gender +
        ", birthDay=" + birthDay +
        ", email=" + email +
        ", name=" + name +
        ", phone=" + phone +
        ", isSeenToOtherSenior=" + isSeenToOtherSenior +
        ", isSeniorExecutive=" + isSeniorExecutive +
        ", tenantId = " + tenantId +
        ", outDeptNO = " + outDeptNO +
        ", deptName = " + deptName +
        ", postName = " + postName +
        ", postPk = " + postPk +
        ", orgPk = " + orgPk +
        ", ts=" + ts +
        "}";
    }
}
